<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
{literal}
<script language="javascript"> 
function prnbutt_onclick() { 
  window.print(); 
  return true; 
} 

function window_onbeforeprint() { 
  document.getElementById("prnDiv").style.visibility ="hidden"; 
  return true; 
} 

function window_onafterprint() { 
  document.getElementById("prnDiv").style.visibility = "visible"; 
  return true; 
}
</script>
<style type="text/css">
  table{
    font-family: SimSun,"Times New Roman",Serif;
  }
  .bottomTl td{
    font-size: 17px;
  }
  table td{
     font-weight: bold;
  }
</style>
{/literal}
</head>
<body style="text-align:center" onafterprint="return window_onafterprint()" onbeforeprint="return window_onbeforeprint()">
{foreach from=$Rows item=Row}
<div style="margin: 0px auto;width: 70%;width:500px;height:928px;margin-top: 8px;page-break-before: always;">
<table width="44%" align="center" border="1" cellspacing="0" class="tll" style="float: left;height: 150px;margin-left: 12px;">
   <tr>
   	  <td colspan="2" align="center">生产跟踪流转卡</td>
   </tr>
   <tr>
   	  <td align="left" height="23" width="42%">客户单号</td>
   	  <td align="left" height="23" width="58%">{$Row.wareNameBc}</td>
   </tr>
   <tr>
   	  <td align="left" height="23">客户</td>
   	  <td align="left" height="23">{$Row.compName}</td>
   </tr>
   <tr>
   	  <td align="left" height="23">缸号</td>
   	  <td align="left" height="23">{$Row.vatNum}</td>
   </tr>
   <tr>
   	  <td align="left" height="23">本厂色号</td>
   	  <td align="left" height="23">{$Row.kuanhao}</td>
   </tr>
     <tr>
   	  <td align="left" height="23">颜色</td>
   	  <td align="left" height="23">{$Row.color}</td>
   </tr>
     <tr>
   	  <td align="left" height="23">客色号</td>
   	  <td align="left" height="23">{$Row.colorNum}</td>
   </tr>
     <tr>
   	  <td align="left" height="23">纱支</td>
   	  <td align="left" height="23">{$Row.shazhi}</td>
   </tr>
     <tr>
   	  <td align="left" height="23">批号</td>
   	  <td align="left" height="23">{$Row.pihao}</td>
   </tr>
     <tr>
   	  <td align="left" height="23">个重</td>
   	  <td align="left" height="23">{$Row.unitKg}</td>
   </tr>
     <tr>
   	  <td align="left" height="23">实际净重</td>
   	  <td align="left" height="23">{$Row.jingzhongCnt}</td>
   </tr>
     <tr>
   	  <td align="left" height="23">投料数</td>
   	  <td align="left" height="23">{$Row.cntPlanTouliao}</td>
   </tr>
     <tr>
   	  <td align="left" height="23">下单日期</td>
   	  <td align="left" height="23">{$Row.dateOrder}</td>
   </tr>
     <tr>
   	  <td align="left" height="23">交货日期</td>
   	  <td align="left" height="23">{$Row.dateJiaohuo}</td>
   </tr>
     <tr>
   	  <td align="left" height="40" rowspan="2" align="left" rowspan="2">备注</td>
   	  <td align="left" rowspan="2" height="40" style="word-wrap: break-word;font-size: 12px">{$Row.memo}</td>
   </tr>
</table>
<table width="44%" align="center" border="1" cellspacing="0" class="tll" style="float: right;height: 150px;margin-bottom: 40px;margin-right: 18px;">
   <tr>
      <td colspan="2" align="center">生产装缸领纱卡</td>
   </tr>
   <tr>
      <td align="left" height="23" width="42%">客户单号</td>
      <td align="left" height="23" width="58%">{$Row.wareNameBc}</td>
   </tr>
   <tr>
      <td align="left" height="23">客户</td>
      <td align="left" height="23">{$Row.compName}</td>
   </tr>
   <tr>
      <td align="left" height="23">缸号</td>
      <td align="left" height="23">{$Row.vatNum}</td>
   </tr>
   <tr>
      <td align="left" height="23">本厂色号</td>
      <td align="left" height="23">{$Row.kuanhao}</td>
   </tr>
     <tr>
      <td align="left" height="23">颜色</td>
      <td align="left" height="23">{$Row.color}</td>
   </tr>
     <tr>
      <td align="left" height="23">客色号</td>
      <td align="left" height="23">{$Row.colorNum}</td>
   </tr>
     <tr>
      <td align="left" height="23">纱支</td>
      <td align="left" height="23">{$Row.shazhi}</td>
   </tr>
     <tr>
      <td align="left" height="23">批号</td>
      <td align="left" height="23">{$Row.pihao}</td>
   </tr>
     <tr>
      <td align="left" height="23">个重</td>
      <td align="left" height="23">{$Row.unitKg}</td>
   </tr>
     <tr>
      <td align="left" height="23">实际净重</td>
      <td align="left" height="23">{$Row.jingzhongCnt}</td>
   </tr>
     <tr>
      <td align="left" height="23">投料数</td>
      <td align="left" height="23">{$Row.cntPlanTouliao}</td>
   </tr>
     <tr>
      <td align="left" height="23">下单日期</td>
      <td align="left" height="23">{$Row.dateOrder}</td>
   </tr>
     <tr>
      <td align="left" height="23">交货日期</td>
      <td align="left" height="23">{$Row.dateJiaohuo}</td>
   </tr>
     <tr>
      <td align="left" height="40" rowspan="2" align="left" rowspan="2">备注</td>
      <td align="left" rowspan="2" height="40" style="word-wrap: break-word;font-size: 12px">{$Row.memo}</td>
   </tr>
</table>
<div style="width: 80%;margin: 0px auto;height: 30px;font-size: 21px;text-align: center;clear: both;">生产跟踪流程卡</div>
<table width="94%" align="center" border="1" cellspacing="0" class="bottomTl" style="height: 100px;">
   <tr>
      <td align="left" height="30">客户</td>
      <td align="left" height="30">{$Row.compName}</td>
      <td rowspan="2" align="center">客户单号</td>
      <td rowspan="2" align="center">{$Row.wareNameBc}</td>
   </tr>
   <tr>
      <td align="left" height="30">缸号</td>
      <td align="left" headers="30">{$Row.vatNum}</td>
   </tr>
   <tr>
      <td align="left" height="30">本厂色号</td>
      <td align="left" height="30">{$Row.kuanhao}</td>
      <td align="left" height="30">纱支</td>
      <td align="left" height="30">{$Row.shazhi}</td>
   </tr>
   <tr>
      <td align="left" height="30">个重</td>
      <td align="left" height="30">{$Row.unitKg}</td>
      <td align="left" height="30">装缸个数</td>
      <td align="left" height="30">{$Row.planTongzi}</td>
   </tr>
   <tr>
      <td align="left" height="30">实际净重</td>
      <td align="left" height="30">{$Row.jingzhongCnt}</td>
      <td align="center" height="30" rowspan="2">客色号</td>
      <td align="left" height="30" rowspan="2">{$Row.colorNum}</td>
   </tr>
   <tr>
      <td align="left" height="30">投料数</td>
      <td align="left" height="30">{$Row.cntPlanTouliao}</td>
     
   </tr>
   <tr>
      <td align="left" height="30">纱批</td>
      <td align="left" height="30">{$Row.pihao}</td>
      <td align="left" height="30">颜色</td>
      <td align="left">{$Row.color}</td>
      <!-- <td rowspan="2"></td> -->
   </tr>
   <tr>
      <td align="left" height="30">日晒牢度</td>
      <td align="left" height="30">{$Row.fastness_rishai}</td>
      <td align="left" height="30">经纱</td>
      <td align="left" height="30">{$Row.cntJ}</td>
   </tr>
   <tr>
      <td align="left" height="30">湿度</td>
      <td align="left" height="30">{$Row.fastness_shi}</td>
      <td align="left" height="30">纬纱</td>
      <td align="left" height="30">{$Row.cntW}</td>
   </tr>
   <tr>
      <td align="left" height="30">干擦</td>
      <td align="left" height="30">{$Row.fastness_baizhan}</td>
      <td align="left" height="30">下单日期</td>
      <td align="left" height="30">{$Row.dateOrder}</td>
   </tr>
   <tr>
      <td>交货日期</td>
      <td colspan="3">{$Row.dateJiaohuo}</td>
   </tr>
   <tr><td colspan="4">备注</td></tr>
   <tr>
      <td align="center" style="text-align: center;font-size: 20px;height: 110px" colspan="4">
         {$Row.memo}
      </td>
   </tr>
</table>
</div>
{/foreach}
<div id="prnDiv"><input type="button" id="prn" name="prn" value="打印" onclick="return prnbutt_onclick();" />
</div>
</body></html>
